package ModelLayer;

/**
 * Write a description of class BusinessCustomer here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class BusinessCustomer extends Customer
{
    private String cvrNumber;

    /**
     * Constructor for objects of class BusinessCustomer.
     * @param name, the name of the businessCustomer.
     * @param phoneNumber, the phonenumber on this businessCustomer.
     * @param address, the address on this businessCustomer.
     * @param city, the city on this businessCustomer.
     * @param zipCode, the zipcode on this businessCustomer.
     * @param customerGroup, the customerGroup on this businessCustomer.
     * @param cvrNumber, the cvrNumber on this businessCustomer.
     */
    public BusinessCustomer(String name, String phoneNumber, String address, String city, String zipCode, int customerGroup, String cvrNumber)
    {
        super(name, phoneNumber, address, city, zipCode, customerGroup);
        this.cvrNumber = cvrNumber;

    }

    /**
     * Returns the cvrNumber on this businessCustomer.
     * @return cvrNumber, the cvrNumber returned.
     */
    public String getCvrNumber()
    {
        return cvrNumber;
    }

    /**
     * Sets the cvrNumber on this businessCustomer.
     * @param cvrNumber, the cvrNumber to be set.
     */
    public void setCvrNumber(String cvrNumber)
    {
        this.cvrNumber = cvrNumber;
    }

}
